package com.example.demo.equipment.dao;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 采集设备
 */
public class CollectingDevice implements Serializable {

    private Integer id;
    //设备编码
    private String deviceNum;
    //设备名称
    private String deviceName;
    //设备说明
    private String deviceRemark;
    //链接状态
    private String deviceState;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date modifyTime;
    //绑定空间id
    private Integer spaceBind;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceRemark() {
        return deviceRemark;
    }

    public void setDeviceRemark(String deviceRemark) {
        this.deviceRemark = deviceRemark;
    }

    public String getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(String deviceState) {
        this.deviceState = deviceState;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getSpaceBind() {
        return spaceBind;
    }

    public void setSpaceBind(Integer spaceBind) {
        this.spaceBind = spaceBind;
    }
}
